\doxysection{logger.\+h}
\hypertarget{logger_2include_2logger_8h_source}{}\label{logger_2include_2logger_8h_source}\index{logger/include/logger.h@{logger/include/logger.h}}
\mbox{\hyperlink{logger_2include_2logger_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#ifndef\ LOGGER\_H}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#define\ LOGGER\_H}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <ctime>}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ <sstream>}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ <iomanip>}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ <fstream>}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00025\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_mag_logger}{MagLogger}}\ \{}
\DoxyCodeLine{00026\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00032\ \ \ \ \ \mbox{\hyperlink{class_mag_logger_af874833bef5967536c000746eed82900}{MagLogger}}()\ \{\}}
\DoxyCodeLine{00038\ \ \ \ \ \mbox{\hyperlink{class_mag_logger_ad13cbdf4b33a580b1096aee2aa9a4030}{\string~MagLogger}}()\ \{\}}
\DoxyCodeLine{00045\ \ \ \ \ std::string\ \mbox{\hyperlink{class_mag_logger_aeca59a7fe42b816420492621efd4cbb9}{currentTime}}();}
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_aa52e41fe1302a56ec26856cd062b291f}{debug}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00059\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_adc2763b218ec03d8ecbb6bf00cc64a28}{info}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00066\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_abacc186e35e7a98e37edd8981c19454d}{warning}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00073\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a4dc582a17edb8e04890939de3be12880}{error}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00080\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a8f2476196fafaf6bd65c9da863a7d059}{fatal}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00087\ \ \ \ \ std::vector<std::string>\&\ \mbox{\hyperlink{class_mag_logger_a7daa71a421f3faf8c8814d4e0e9b80cf}{getDebugLog}}()\ \{\ \textcolor{keywordflow}{return}\ debugLog;\ \}}
\DoxyCodeLine{00094\ \ \ \ \ std::vector<std::string>\&\ \mbox{\hyperlink{class_mag_logger_a46cb6161a2e36801ca084e93bc9d9f0c}{getInfoLog}}()\ \{\ \textcolor{keywordflow}{return}\ infoLog;\ \}}
\DoxyCodeLine{00101\ \ \ \ \ std::vector<std::string>\&\ \mbox{\hyperlink{class_mag_logger_ab2a8c008b8c2c0236fe45d7978600d7d}{getWarningLog}}()\ \{\ \textcolor{keywordflow}{return}\ warningLog;\ \}}
\DoxyCodeLine{00108\ \ \ \ \ std::vector<std::string>\&\ \mbox{\hyperlink{class_mag_logger_aa729d5403639328551ad7e2ec3f210e6}{getErrorLog}}()\ \{\ \textcolor{keywordflow}{return}\ errorLog;\ \}}
\DoxyCodeLine{00115\ \ \ \ \ std::vector<std::string>\&\ \mbox{\hyperlink{class_mag_logger_a90b8b90bf5ac841eb406f74c015d72b3}{getFatalLog}}()\ \{\ \textcolor{keywordflow}{return}\ fatalLog;\ \}}
\DoxyCodeLine{00122\ \ \ \ \ std::vector<std::string>\&\ \mbox{\hyperlink{class_mag_logger_a463c08ad83b7ce61634ce61f2c653b2a}{getAllLog}}()\ \{\ \textcolor{keywordflow}{return}\ magAllLog;\ \}}
\DoxyCodeLine{00123\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00130\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a871395cc8d7389bdf827cc610f3c236a}{exportLog}}(\textcolor{keyword}{const}\ std::string\&\ fileName);}
\DoxyCodeLine{00131\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00132\ \ \ \ \ std::vector<std::string>\ magAllLog;}
\DoxyCodeLine{00133\ \ \ \ \ std::vector<std::string>\ debugLog;}
\DoxyCodeLine{00134\ \ \ \ \ std::vector<std::string>\ infoLog;}
\DoxyCodeLine{00135\ \ \ \ \ std::vector<std::string>\ warningLog;}
\DoxyCodeLine{00136\ \ \ \ \ std::vector<std::string>\ errorLog;}
\DoxyCodeLine{00137\ \ \ \ \ std::vector<std::string>\ fatalLog;}
\DoxyCodeLine{00138\ \};}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00140\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
